package cn.gbase.jiangsu.data.transfer.bean;

import org.nutz.dao.entity.annotation.*;

/**
* 用户的优惠券.
*/
@Table("shop_users_coupon")
public class ShopUsersCoupon {
		
	@Id
	@Column("id")	
	private int id;
		
	/**
	 * 优惠券编号.
	 */
	@Column("coupon_no")	
	private String couponNo;
		
	/**
	 * 面值.
	 */
	@Column("face_value")	
	private int faceValue;
		
	/**
	 * 需消费金额.
	 */
	@Column("need_money")	
	private int needMoney;
		
	/**
	 * 有效期From.
	 */
	@Column("valid_date_from")	
	private java.util.Date validDateFrom;
		
	/**
	 * 有效期To.
	 */
	@Column("valid_date_to")	
	private java.util.Date validDateTo;
	
	/**
	 * 用户ID.
	 */
	@Column("user_id")	
	private int userId;
	
	/**
	 * 是否使用.
	 */
	@Column("isUsed")	
	private int isUsed;
		
	/**
	 * 逻辑删除Flag.
	 */
	@Column("delete_flag")
	private int deleteFlag;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getCouponNo() {
		return couponNo;
	}

	public void setCouponNo(String couponNo) {
		this.couponNo = couponNo;
	}

	public int getFaceValue() {
		return faceValue;
	}

	public void setFaceValue(int faceValue) {
		this.faceValue = faceValue;
	}

	public int getNeedMoney() {
		return needMoney;
	}

	public void setNeedMoney(int needMoney) {
		this.needMoney = needMoney;
	}

	public java.util.Date getValidDateFrom() {
		return validDateFrom;
	}

	public void setValidDateFrom(java.util.Date validDateFrom) {
		this.validDateFrom = validDateFrom;
	}

	public java.util.Date getValidDateTo() {
		return validDateTo;
	}

	public void setValidDateTo(java.util.Date validDateTo) {
		this.validDateTo = validDateTo;
	}

	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public int getIsUsed() {
		return isUsed;
	}

	public void setIsUsed(int isUsed) {
		this.isUsed = isUsed;
	}

	public int getDeleteFlag() {
		return deleteFlag;
	}

	public void setDeleteFlag(int deleteFlag) {
		this.deleteFlag = deleteFlag;
	}
}